﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartSpace.Core;
using SmartSpace.Data.AutoInput;

namespace SmartSpace.Data
{
    public static class AutoInputs
    {
        public static Dictionary<string, IAutoInput> s_inputs = new Dictionary<string, IAutoInput>();

        static AutoInputs()
        {
            s_inputs.Add("identity", new IdentityInput());
            s_inputs.Add("create.user", new OperatorInput());
            s_inputs.Add("create.date", new DateInput());
        }

        public static IAutoInput Get(string type)
        {
            return s_inputs[type];
        }
    }
}
